package com.lai.hospital.constant;

/**
 * @author : lai
 * @version V1.0
 * @Project: hospital-springboot
 * @Package com.lai.hospital.controller
 * @Description: 公共常量
 * @date Date : 2022年11月14日 21:05
 */
public class CommonConst {

    /**
     * 否
     */
    public static final int FALSE = 0;

    /**
     * 是
     */
    public static final int TRUE = 1;

    /**
     * 当前页码
     */
    public static final String CURRENT = "current";

    /**
     * 页码条数
     */
    public static final String SIZE = "size";


    /**
     * 默认条数
     */
    public static final String DEFAULT_SIZE = "10";

    /**
     * 默认用户昵称
     */
    public static final String DEFAULT_NICKNAME = "用户";

    /**
     * 浏览文章集合
     */
    public static String ARTICLE_SET = "articleSet";

    /**
     * 前端组件名
     */
    public static String COMPONENT = "Layout";

    /**
     * 省
     */
    public static final String PROVINCE = "省";

    /**
     * 市
     */
    public static final String CITY = "市";

    /**
     * 未知的
     */
    public static final String UNKNOWN = "未知";

    /**
     * JSON 格式
     */
    public static final String APPLICATION_JSON = "application/json;charset=utf-8";

    /**
     * 默认头像
     */
    public static final String DEFAULT_AVATAR_URL = "https://hospital-1307904337.cos.ap-guangzhou.myqcloud.com/avatar/user_avatar.jpg";

    /**
     * 默认文章封面
     */
    public static final String DEFAULT_ARTICLE_COVER_URL = "https://hospital-1307904337.cos.ap-guangzhou.myqcloud.com/article/girl2.jpg";


    public static final String LOCAL_IP_ADDRESS = "127.0.0.1";

    public static final String LOCAL_IP_SOURCE = "本地";


    public static final String IPV6_ADDRESS = "0:0:0:0:0:0:0:1";




}
